{if $full_page eq 1}
<!DOCTYPE HTML>
<html>
<head>
{include file='html_header.htm'}
<script src='http://api.map.baidu.com/api?type=quick&ak=BFf34117b1d204dbf23d6a289b5bfdf5&v=1.0'></script>
<script src='js/znavi.js'></script>
<script>
      var destination = '{$destination}';
      var region = '{$region}';
      var mode = BMAP_MODE_DRIVING;
      function change_mode(_mode)
      {
        mode = _mode;
		$('.navigate_marker').removeClass('on');
		if(mode == BMAP_MODE_DRIVING)
		{
			$('#driving_marker').addClass('on');
		}
		else if(mode == BMAP_MODE_TRANSIT)
		{
			$('#bus_marker').addClass('on');
		}
		else if(mode == BMAP_MODE_WALKING)
		{
			$('#walk_marker').addClass('on');
		}
      }
      function route()
      {
        $.znavi.route(destination,region,mode);
      }
    </script>
</head>
<body>
<div id='container'> {/if}
  {include file='page_header.htm'}
  <section>
    <div class="order_con">
      <div class="order_pd">
        <div class="order">
          <div class="order_list_buyer">
            <div class="check_order_info">
            <table width='100%'>
              <tr>
              	<td onclick='change_mode(BMAP_MODE_DRIVING)' align="center">
                	<div class='navigate_mode_icon' id='driving' ></div>
                    <div>驾车<i id='driving_marker' class='navigate_marker on'></i></div>
                </td>
                <td onclick='change_mode(BMAP_MODE_TRANSIT)' align="center">
                	<div class='navigate_mode_icon' id='bus' ></div>
                    <div>公共交通<i id='bus_marker' class='navigate_marker'></i></div>
                </td>
                <td onclick='change_mode(BMAP_MODE_WALKING)' align="center">
                	<div class='navigate_mode_icon' id='walk' ></div>
                    <div>步行<i id='walk_marker' class='navigate_marker'></i></div>
                </td>
              </tr>
            </table>
            </div>
            <p>
              <input type='button' class='button navigate_route' onclick='javascript:route()' value='确定'/>
              <input type='button' class='button' onclick='javascript:window.close();' value='关闭'/>
            </p>
          </div>
        </div>
      </div>
    </div>
  </section>
  {include file='page_footer.htm'}
  {if $full_page eq 1} </div>
{include file='static_div.htm'}
</body>
</html>
{/if}